 <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span class="cy-span-red">*</span>{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span class="cy-span-red">*</span>{:__('商品类')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-category_id" data-rule="required" data-source="category/selectpage" data-params='{"custom[type]":"goods"}' class="form-control selectpage" name="row[category_id]" type="text" value="{$row.category_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-number" data-rule="" class="form-control" name="row[number]" type="text" value="{$row.number|htmlentities}">
        </div>
    </div>
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('单位')}:</label>
         <div class="col-xs-12 col-sm-8">
             <input id="c-unit" data-rule="" class="form-control" name="row[unit]" type="text" value="{$row.unit|htmlentities}">
         </div>
     </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Spell')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-spell" data-rule="" class="form-control" name="row[spell]" type="text" value="{$row.spell|htmlentities}">
        </div>
    </div>
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2"><span class="cy-span-red">*</span>{:__('成本价')}:</label>
         <div class="col-xs-12 col-sm-8">
             <input id="c-cost_price" data-rule="required" class="form-control" step="0.01" name="row[cost_price]" type="number" value="{$row.cost_price}">
         </div>
     </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Retail_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-retail_price" data-rule="" class="form-control" step="0.01" name="row[retail_price]" type="number" value="{$row.retail_price|htmlentities}">
        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Min_price')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-min_price" data-rule="" class="form-control" step="0.01" name="row[min_price]" type="number" value="{$row.min_price|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Pre_price_a')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-pre_price_a" data-rule="" class="form-control" step="0.01" name="row[pre_price_a]" type="number" value="{$row.pre_price_a|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bar_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bar_code" data-rule="" class="form-control" name="row[bar_code]" type="text" value="{$row.bar_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sku')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sku" data-rule="" class="form-control" name="row[sku]" type="text" value="{$row.sku|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Model_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-model_number" data-rule="" class="form-control" name="row[model_number]" type="text" value="{$row.model_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remarks')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remarks" data-rule="" class="form-control" name="row[remarks]" type="text" value="{$row.remarks|htmlentities}">
        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
